/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.classnet.online.session;

import com.classnet.CnetUserSession;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBException;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;

/**
 *
 * @author karltinawi
 */
public class UserSession implements SessionBean {
    
    private CnetUserSession session;
    
    public void ejbCreate(CnetUserSession session) throws CreateException {
        if(session == null)
            throw new CreateException("Null Session not permitted.");
        else this.session = session;
    }
    
    public void setSessionContext(SessionContext arg0) throws EJBException, RemoteException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void ejbRemove() throws EJBException, RemoteException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void ejbActivate() throws EJBException, RemoteException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void ejbPassivate() throws EJBException, RemoteException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
